package principle.flyweight;

/**
 * @author malguy-wang sir
 * @create ---
 */
public class concreteWebsite extends website{//具体网站
    private String type = "";//网站类型
    public concreteWebsite(String type) { this.type = type;}
    @Override
    public void use(User user) { System.out.println("发布"+type+"类型的网站"+" 用户："+user.getName()); }
}
